package com.bgs.travelapp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties( prefix="file")
@Configuration
@Data
public class ScenicConfigProperties {
    private String rootPath;    //根路径
    private String imageType;   //上传图片限制的格式
    private String fileType;    //上传文件限制的格式
    private String imagePath;   //上传图片的路径
    private String filePath;    //上传文件的路径
    private Long fileMaxSize;   //文件上传最大20MB
    private Long imageMaxSize;  //图片上传最大2MB
}
